package com.ylr.Postconttruct;

import com.alibaba.fastjson.JSON;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName postcontructController
 * @Description TODO
 * @Author 11
 * @Date 2021/7/9 16:34
 * @Version 1.0
 */

@RestController
public class postcontructController {

    @Autowired
    private BBB bbb;

    @GetMapping("/getBBB")
    public Object getBBB() {
        return JSON.toJSON(bbb);
    }
}
